from collections import Counter
from typing import List
class Solution:
    def getSneakyNumbers(self, nums: List[int]) -> List[int]:
        cnt  = Counter(nums)
        return list(set([i for i in nums if cnt[i] == 2]))